<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">
								<label class="col-sm-3 control-label">跳转商品：</label>
								<div class="col-sm-8">
									<select data-placeholder="--选择商品别--" name="goodsId" id="goodsId"
											class="form-control chosen-select" tabindex="2" required>
										<option value="">--选择类别商品--</option>
									</select>
								</div>
							</div>
							<div id="one" class="form-group" style="display:none">
								<label class="col-sm-3 control-label">原商品价格：</label>
								<div class="col-sm-8">
									<input id="oldPrice" name="oldPrice" class="form-control" type="text" disabled="disabled">
								</div>
							</div>
							<div id="two" class="form-group" style="display:none">
								<label class="col-sm-3 control-label">原商品库存：</label>
								<div class="col-sm-8">
									<input id="oldStock" name="oldStock" class="form-control" type="text" disabled="disabled">
								</div>
							</div>


							<div class="form-group">
								<label class="col-sm-3 control-label">专区价格：</label>
								<div class="col-sm-8">
									<input id="price" name="price" class="form-control" type="text">
								</div>
							</div>
							<!--<div class="form-group">
								<label class="col-sm-3 control-label">销量：</label>
								<div class="col-sm-8">
									<input id="numSale" name="numSale" class="form-control" type="text">
								</div>
							</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">库存：</label>
								<div class="col-sm-8">
									<input id="stock" placeholder="该库存不能超过原商品库存" name="stock" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">砍价最低金额：</label>
								<div class="col-sm-8">
									<input id="minPrice" name="minPrice" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">砍价最高金额：</label>
								<div class="col-sm-8">
									<input id="maxPrice" name="maxPrice" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">上级返利：</label>
								<div class="col-sm-8">
									<input id="rebateOne" name="rebateOne" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">上上级返利：</label>
								<div class="col-sm-8">
									<input id="rebateTwo" name="rebateTwo" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">砍价时间限制（小时）：</label>
								<div class="col-sm-8">
									<input id="time" name="time" class="form-control" type="text">
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/wx/goodsBargain/add.js">
	</script>
</body>
</html>
